class Date {
    private int year;
    private int mouth;
    private int day;
    public Date() {
        this(int year,int mouth,int day);
        System.out.println("不带参数的构造方法");
    }

    public Date(int year, int mouth, int day) {
        this.year = year;
        this.mouth = mouth;
        this.day = day;
    }
    {

    }
    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public int getMouth() {
        return mouth;
    }

    public void setMouth(int mouth) {
        this.mouth = mouth;
    }

    public int getDay() {
        return day;
    }

    public void setDay(int day) {
        this.day = day;
    }
}
public class Text {
    public static void main(String[] args) {
        Date date=new Date();
    }
}